#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(int argc,char* argv[])
{
  if(argc!=4)
  {
    printf("Usage:\n\t%s -number[1-3]\n",argv[0]);
    return 1;
  }

  int x=atoi(argv[2]);
  int y=atoi(argv[3]);
  
  if(strcmp("-add",argv[1])==0)
  {
    printf("%d+%d=%d\n",x,y,x+y);
  }
  else if(strcmp("-sub",argv[1])==0)
  {
    printf("%d-%d=%d\n",x,y,x-y);
  }
  else if(strcmp("-mul",argv[1])==0)
  {
    printf("%d*%d=%d\n",x,y,x*y);
  }
  else if(strcmp("-div",argv[1])==0)
  {
    printf("%d//%d=%d\n",x,y,x/y);
  }
  else
  {
    printf("unknow!\n");
  }
  return 0;
}
